
  // 开发模式下加载index.html文件，解决index.html无法热加载问题；
if (process.env.NODE_ENV !== 'production') {
   require('../public/index.html')
}  


import timeStamp from './components/timeStamp.js';


import totalPage from './components/totalPage.js';

import isTest from './components/isTest.js';
import isWeixin from './components/isWeixin.js';
import isMobile from './components/isMobile.js';
import isApple from './components/isApple.js';
import isAndroid from './components/isAndroid.js';


import urlParamAdd from './components/urlParamAdd.js';
import urlParamGet from './components/urlParamGet.js';
import cookieAdd from './components/cookieAdd.js';
import cookieGet from './components/cookieGet';
import sessionStorageAdd from './components/sessionStorageAdd.js';
import sessionStorageGet from './components/sessionStorageGet.js';
import localStorageAdd from './components/localStorageAdd.js';
import localStorageGet from './components/localStorageGet.js';


import strJoin from './components/strJoin.js';
import strTrim from './components/strTrim.js';
import strDelRight from './components/strDelRight.js';
import {lengthRange,letterBegin,pureNum,isMail,isIdCard,isURL,isQQ,isEmail,isPhone} from './components/strVerify.js';
import {haveSpace,haveCNChars} from './components/strHave.js';



export {
  timeStamp,//时间戳格式转换
  totalPage,//分页计算

  isTest,//判断当前处于测试模式
  isWeixin,//判断微信端
  isMobile,//判断移动端
  isApple,//判断苹果移动端
  isAndroid,//判断安卓移动端

  urlParamAdd,//url参数封装
  urlParamGet,//获取url参数
  cookieAdd,//新增cookie值
  cookieGet,//获取cookie值
  sessionStorageAdd,//存储sessionStorage值
  sessionStorageGet,//获取sessionStorage值
  localStorageAdd,//存储localStorage值
  localStorageGet,//获取localStorage值

  strJoin,//自定义连接符拼接字符串
  strTrim,//清除字符串空格
  strDelRight,//删除右侧字符串
  lengthRange,//验证字符串长度是否在规定范围
  letterBegin,//验证字符串是否以字母开头
  pureNum,//验证字符串是否为纯数字
  isMail,//验证大陆邮政编码
  isIdCard,//验证二代身份证
  isURL,//验证网址
  isQQ,//验证QQ号
  isEmail,//验证电子邮箱
  isPhone,//验证手机号
  haveSpace,//判断字符串是否包含空格
  haveCNChars,//判断字符串是否包含中文
}


